package com.bw.demoseckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author fxy
 * @since 2020-10-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbGoods implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String goodsName;

    private String goodsType;

    private Integer yprice;

    private Integer xprice;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;

    private Integer status;

    private Integer num;

    private String title;


}
